all : test

test: thread
	./thread
thread: thread.c
	gcc -g -o thread thread.c -lpthread
clean :
	rm -f thread
